package com.woniuxy.caradmin.service;

import com.woniuxy.caradmin.entity.pojo.Oilrecord;
import com.woniuxy.caradmin.entity.vo.OilRecordVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author womenzu
 * @since 2020-12-07
 */
public interface OilrecordService  {
    //查询全部的加油记录
    public List<Oilrecord> selectAllOilRecords(OilRecordVo oilRecordVo);

    //根据车牌号模糊查询
    public List<Oilrecord> selectAllOilRecordsByVid(String vehiclenum);

    //增加加油记录
    public int addOilRecord(Oilrecord oilrecord);

    //修改加油记录
    public int updateOilRecord(Oilrecord oilrecord);

    //删除加油记录
    public int deleteOilRecord(Integer id);
}
